package com.bootdo.mall_part.service;

import com.bootdo.mall.domain.MallOrder;
import com.bootdo.mall.domain.MallOrderLog;
import com.bootdo.mall_part.domain.MallEvaluate;

import java.util.List;
import java.util.Map;
import com.bootdo.mall_part.dao.MallEvaluateDao;
import com.bootdo.member.domain.ShequMember;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * 
 * @author lujingqian
 * @email 2100272728@qq.com
 * @date 2019-11-12 16:18:51
 */
public interface MallEvaluateService extends MallEvaluateDao{
/**
	MallEvaluate get(Long id);
	
	List<MallEvaluate> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MallEvaluate mallEvaluate);
	
	int update(MallEvaluate mallEvaluate);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids); */

	int addEvaluates(ShequMember shequMember, MallOrder mallOrder, String content, int starNumber);

	int setReaded(Long grandFatherId, Long endId, Long replierId);

	Map<String, Object> getMemberUnreadEvaluate(ShequMember member, Map<String, Object> param);

}
